package com.example.springboot_demo.demos.web.book_work.Server;

import com.example.springboot_demo.Common.Result;
import com.example.springboot_demo.demos.web.book_work.Pojo.dto.BrrowBookDto;
import com.example.springboot_demo.demos.web.book_work.Pojo.dto.ReturnBookDto;
import com.example.springboot_demo.demos.web.book_work.Pojo.entity.Book;

import java.util.List;

public interface BookServer {

    List<Book> getBookList();

    Boolean borrowBook(BrrowBookDto brrowBookDto);

    Double returnBook(ReturnBookDto returnBookDto);
}
